package com.allwees.bs.module.oms.vo;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class HomePageStatisticsVo {

    private Integer waitPayCount = 0;

    private Integer waitShipCount = 0;

    private Integer waitRefundedCount = 0;

    private Integer waitReviewCount = 0;


    private BigDecimal yesterdayDealAmt = BigDecimal.ZERO;

    private BigDecimal todayDealAmt = BigDecimal.ZERO;

    private BigDecimal totalDealAmt = BigDecimal.ZERO;

    private BigDecimal todayRefundedAmt = BigDecimal.ZERO;

    public HomePageStatisticsVo setWaitPayCount(Integer waitPayCount) {
        if (waitPayCount == null) {
            return this;
        }
        this.waitPayCount = waitPayCount;
        return this;
    }

    public HomePageStatisticsVo setWaitShipCount(Integer waitShipCount) {
        if (waitShipCount == null) {
            return this;
        }
        this.waitShipCount = waitShipCount;
        return this;
    }

    public HomePageStatisticsVo setWaitRefundedCount(Integer waitRefundedCount) {
        if (waitReviewCount == null) {
            return this;
        }
        this.waitRefundedCount = waitRefundedCount;
        return this;
    }

    public HomePageStatisticsVo setWaitReviewCount(Integer waitReviewCount) {
        if (waitReviewCount == null) {
            return this;
        }
        this.waitReviewCount = waitReviewCount;
        return this;
    }

    public HomePageStatisticsVo setYesterdayDealAmt(BigDecimal yesterdayDealAmt) {
        if (yesterdayDealAmt == null) {
            return this;
        }
        this.yesterdayDealAmt = yesterdayDealAmt;
        return this;
    }

    public HomePageStatisticsVo setTodayDealAmt(BigDecimal todayDealAmt) {
        if (todayDealAmt == null) {
            return this;
        }
        this.todayDealAmt = todayDealAmt;
        return this;
    }

    public HomePageStatisticsVo setTotalDealAmt(BigDecimal totalDealAmt) {
        if (totalDealAmt == null) {
            return this;
        }
        this.totalDealAmt = totalDealAmt;
        return this;
    }

    public HomePageStatisticsVo setTodayRefundedAmt(BigDecimal todayRefundedAmt) {
        if (todayRefundedAmt == null) {
            return this;
        }
        this.todayRefundedAmt = todayRefundedAmt;
        return this;
    }
}
